﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhouChangApplication3
{
    class ZhouChang
    {
        double length;
        double width;
        double hight;
        public void Shuzhi()
        {
            length = 8.5;
            width = 5.2;
            hight = 8.6;

        }
        public double Tizhi()
        {
            return length * width * hight;
        }
        public void Display()
        {
            Console .WriteLine("Length:{0}", length);
            Console.WriteLine("Width:{0}", width);
            Console.WriteLine("Hight:{0}", hight);
            Console.WriteLine("Zhi:{0}", Tizhi());
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            ZhouChang r = new ZhouChang() ;
            r.Shuzhi();
            r.Display();
            Console.ReadLine();

        }
    }
}
